package com.example.ch02_student.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor


public class CourseVo implements Serializable {

    private String cno;
    private Integer term;
    private String cname;
    private Integer ccredit;
    private Integer chour;
    private Date createTime;
    //任课老师
    List<String> tnames;

    /**
     * @return CNO
     */
    public String getCno() {
        return cno;
    }

    /**
     * @param cno
     */
    public void setCno(String cno) {
        this.cno = cno;
    }

    /**
     * @return CNAME
     */
    public String getCname() {
        return cname;
    }

    /**
     * @param cname
     */
    public void setCname(String cname) {
        this.cname = cname;
    }

    /**
     * @return TERM
     */
    public Integer getTerm() {
        return term;
    }

    /**
     * @param term
     */
    public void setTerm(Integer term) {
        this.term = term;
    }

    /**
     * @return CCREDIT
     */
    public Integer getCcredit() {
        return ccredit;
    }

    /**
     * @param ccredit
     */
    public void setCcredit(Integer ccredit) {
        this.ccredit = ccredit;
    }

    /**
     * @return CHOUR
     */
    public Integer getChour() {
        return chour;
    }

    /**
     * @param chour
     */
    public void setChour(Integer chour) {
        this.chour = chour;
    }

    /**
     * @return CREATE_TIME
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}